/*
 * Script to display the Sign In form
 * 
 * Author: Chris Casola
 */

(function() {
	
	/**
	 * Displays the Question form on the page
	 */
	function SignInForm(appFrame) {
		this.frame = appFrame;
		
		this.displayForm = function() {
			var content = "<section id='signInForm'>" +
						  "<p>Game ID:</p>" +
						  "<input type='text' id='gameID' name='gameID' size='35' /><br /><br />" +
						  "<p>Name:</p>" +
						  "<input type='text' id='userName' name='userName' size='35' /><br /><br />" +
						  "<p>Password:</p>" +
						  "<input type='text' id='password' name='password' size='35' /><br />" +
						  "<section class='buttonPanel'>" +
							"<ul>" +
								"<li class='button' id='signIn'>Sign In</li>" +
							"</ul>" +
							"<p><span class='tip' id='signInTip'>[?]</span></p>" +
						  "</section>" +
						  "</section>";
			return content;
		}
	}
	
	window.SignInForm = SignInForm;
}).call();
